#pragma once
#include "presenter\Presenter.h"
#include "view\ConsoleView.h"
#include "lib\TCollection.h"
#include "model\Player.h"
#include "model\Sport.h"
#include <string>


class MainPresenter : public Presenter {
public:
  MainPresenter(TCollection<Player> *players, TCollection<Sport> *sports) {
    players_ = players;
    sports_ = sports;
  }

  virtual void Notify() {
    HandleEvent();
  }

  virtual int HandleEvent() {

    switch(0) {
    case 'p': DisplayPlayer(); break;
    case 'q': Quit(); break;
    }
    return 1;
  }

  // commands
  void DisplayPlayer() {
    //PlayerView view;
    //view.Init();
    //view.Render();
  }




private:
  int status_;
  std::string content;
  TCollection<Player> *players_;
  TCollection<Sport> *sports_;
};
